package org.liang.clients;

import org.liang.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "gift-common")
public interface CommonClient {
    //发送邮件
    @PostMapping("/email/send/{emailName}/{type}")
    AjaxResult sendQQEmail(@PathVariable("emailName") String emailName, @PathVariable("type") Integer type);

    //店铺入驻审核驳回
    @PostMapping("/email/reviewReject/{emailName}/{region}/{desc}")
    AjaxResult reviewReject(@PathVariable("emailName") String emailName,
                            @PathVariable("region") String region,
                            @PathVariable("desc") String desc);
}
